﻿using System;
using System.Collections.Generic;
using System.Text;

namespace StudentList
{
    /// <summary>
    /// 用于保存学生基本信息的实体类
    /// </summary>
    public class Student
    {
        private string _studentNo = string.Empty;
        private string _studentName = string.Empty;
        private string _qq = string.Empty;
        private string _picFormatString = string.Empty;

        public string StudentNo
        {
            get { return _studentNo; }
            set { _studentNo = value; }
        }

        public string StudentName
        {
            get { return _studentName; }
            set { _studentName = value; }
        }

        public string Qq
        {
            get { return _qq; }
            set { _qq = value; }
        }

        public string PicFormatString
        {
            get { return _picFormatString; }
            set { _picFormatString = value; }
        }

        public string PicUrl
        {
            get { return string.Format( _picFormatString ,_studentNo); }
        }
    }
}
